home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 103 / XENIATGM103.iso / Shareware / GoLive 5.0 / MM9.Cab / F1445_catalog.asp.9B3B646D_CB56_4EAE_BAB7_3E7E8E41A649 < prev    next >
Text File  |  2000-08-17  |  4KB  |  74 lines

  1. <!-- #INCLUDE VIRTUAL="/golive/config/include/utils.runtime5.asp" -->
  2. <!-- #INCLUDE VIRTUAL="/golive/config/include/ado.runtime5.asp" -->
  3. <html>
  4.  
  5.     <head>
  6.         <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
  7.         <meta name="generator" content="Adobe GoLive 5">
  8.         <title>Loose Screws Catalog</title>
  9.         <%'Dynamic Link
  10.            set Product_InfoRecordSet = CreateObject("ADODB.RecordSet")
  11.            Product_InfoRecordSet.Open "select * from Products where Category = '" & Request.QueryString("Category") & "'", ConnectString("LooseScrews")
  12.            set Product_Info = WrapRecordSet(Product_InfoRecordSet, "ProductID")
  13.            Product_Info.Move GetRecordIndex() - 1
  14. %><%'Dynamic Link
  15.            set ProductCategoriesSet = CreateObject("ADODB.RecordSet")
  16.            ProductCategoriesSet.Open "select * from ProductCategories", ConnectString("LooseScrews")
  17.            set ProductCategories = WrapRecordSet(ProductCategoriesSet, "ProductID")
  18.         %><meta name="site-config-URL" content="http://localhost/golive/config/">
  19.     </head>
  20.  
  21.     <body bgcolor="white">
  22.         <table border="0" cellpadding="0" cellspacing="0" width="100%">
  23.             <tr height="103">
  24.                 <td height="103" valign="middle"><img src="images/logo.gif"></td>
  25.             </tr>
  26.             <tr height="5">
  27.                 <td height="5" align="right" valign="top"><img height="11" width="153" src="images/copyright.gif"></td>
  28.             </tr>
  29.             <tr height="5">
  30.                 <td height="5" valign="top" bgcolor="black"><img height="1" width="1" src="../magazine/images/spacer.gif"></td>
  31.             </tr>
  32.             <tr height="5">
  33.                 <td height="5" valign="top" bgcolor="#cccccc"><img height="1" width="1" src="../magazine/images/spacer.gif"></td>
  34.             </tr>
  35.         </table>
  36.         <p>
  37.         <table width="100%" cellpadding="10" border="0" cellspacing="0">
  38.             <tr>
  39.                 <td valign="top" width="155" rowspan="2" align="left">
  40.                     <table border="0" cellpadding="0" cellspacing="0">
  41.                         <% ProductCategories.MoveFirst %>
  42.                         <% while not ProductCategories.EOF %>
  43.                         <tr>
  44.                             <td nowrap><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" size="4"><a href='catalog.asp?<%=URLArgs("Category", ProductCategories.Value("Category"))%>'><%=ProductCategories.Value("Category")%></a></font></td>
  45.                         </tr>
  46.                         <% ProductCategories.MoveNext %>
  47.                         <% wend %>
  48.                     </table>
  49.                 </td>
  50.                 <td valign="top" colspan="2">
  51.                     <h1><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular"><%=Product_Info.Value("Name")%></font></h1>
  52.                 </td>
  53.                 <td align="right" nowrap valign="top"><a <%=LinkToPreviousRecord(Product_Info)%>><img src="images/left.gif" border="0"></a> <a <%=LinkToNextRecord(Product_Info)%>><img height="43" width="41" src="images/right.gif" border="0"></a></td>
  54.             </tr>
  55.             <tr>
  56.                 <td valign="top"><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" size="4"><%=Product_Info.Value("Description")%></font>
  57.                     <p><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" size="4"><i>$<%=Product_Info.Value("Price")%></i></font></td>
  58.                 <td colspan="2" valign="top"><img src='<%=Product_Info.Value("ImageURL")%>'></td>
  59.             </tr>
  60.         </table>
  61.     </body>
  62.  
  63. </html>
  64. <% if 0 then %>
  65. <!-- Mock Content
  66.    ProductCategories:<TABLE> {<tr><td><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" size="4">Waterfowl</font></td></tr><tr><td><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" size="4">Bath Toys</font></td></tr>}
  67.    ProductCategories:Category {Ducks}
  68.    Product_Info:Name {Classic Quacker}
  69.    Product_Info:Description {Get yours today! The Classic Quacker is a surefire collectors item that your kids will enjoy for years to come.}
  70.    Product_Info:Price {15}
  71.    Product_Info:ImageURL {images/ducky(big).jpg}
  72. -->
  73. <% end if %>
  74.